@import 'uview-ui/theme.scss';
@import '@/assets/css/variate.scss';
@import '@/assets/css/mixin.scss';
@import '@/assets/css/myuview.scss';

page,
view,
text,
picker,
scroll-view {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: "Microsoft YaHei", 微软雅黑;
}

body {
  margin: auto;
}

.mid-position {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* IE */
	-ms-transform: translate(-50%, -50%);
	/* 火狐 */
	-moz-transform: translate(-50%, -50%);
	/* 谷歌 */
	-webkit-transform: translate(-50%, -50%);
	/* 欧朋 */
	-o-transform: translate(-50%, -50%);
}

.vertical-position {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	/* IE */
	-ms-transform: translateY(-50%);
	/* 火狐 */
	-moz-transform: translateY(-50%);
	/* 谷歌 */
	-webkit-transform: translateY(-50%);
	/* 欧朋 */
	-o-transform: translateY(-50%);
}

.horizontal-position {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	/* IE */
	-ms-transform: translateX(-50%);
	/* 火狐 */
	-moz-transform: translateX(-50%);
	/* 谷歌 */
	-webkit-transform: translateX(-50%);
	/* 欧朋 */
	-o-transform: translateX(-50%);
}

// 底部更多 loading
.scroll-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	width: 100%;
}